package com.tiger.project.domain;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tiger.common.annotation.Excel;
import com.tiger.common.core.domain.BaseEntity;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;


/**
 * 【租金分配收款信息】对象 asset_receipt_allocation
 *
 * @author standard
 * @date 2022-10-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "asset_receipt_allocation对象", description = "【租金分配收款信息】内容")
public class AssetReceiptAllocation extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 合同发起id
     */
    @Excel(name = "合同发起id")
    @ApiModelProperty(value = "合同发起id")
    private Long contractSponsorId;

    /**
     * 合同发起编号
     */
    @Excel(name = "合同发起编号")
    @ApiModelProperty(value = "合同发起编号")
    private String contractSponsorNo;

    /**
     * 收款人id
     */
    @Excel(name = "收款人id")
    @ApiModelProperty(value = "收款人id")
    private Long payeeId;

    /**
     * 收款人姓名
     */
    @Excel(name = "收款人姓名")
    @ApiModelProperty(value = "收款人姓名")
    private String payeeName;

    /**
     * 客户id（承租单位）
     */
    @Excel(name = "客户id", readConverterExp = "承租单位")
    @ApiModelProperty(value = "客户id")
    private Long lesseeId;

    /**
     * 客户名称（承租单位名称）
     */
    @Excel(name = "客户名称", readConverterExp = "承租单位名称")
    @ApiModelProperty(value = "客户名称")
    private String lesseeName;

    /**
     * 金额
     */
    @Excel(name = "收款金额")
    @ApiModelProperty(value = "收款金额")
    private BigDecimal money;

    /**
     * 租赁期数
     */
    @Excel(name = "租赁期数")
    @ApiModelProperty(value = "租赁期数")
    private Long rentPeriods;

    /**
     * 收款类型
     */
    @Excel(name = "收款类型")
    @ApiModelProperty(value = "收款类型")
    private String receiptType;

    /**
     * 交易类别
     */
    @Excel(name = "交易类别")
    @ApiModelProperty(value = "交易类别")
    private String dealType;

    /**
     * 收款时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收款时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "收款时间")
    private Date allocationTime;

    /**
     * 账单状态
     */
    @ApiModelProperty(value = "账单状态 1-待付款 2-未缴清 3-已缴清")
    private Integer billStatus;

    @ApiModelProperty(value = "合同账期id")
    private Long billId;

}
